package com.pactera.madp.cp.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;


/**
 * @description: 子账号实体
 * @author: zhaojinjian
 * @create: 2020-11-17 11:32
 **/
@Data
@TableName("cp_take_over")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "客户接替表")
public class TakeOverEntity extends BaseEntity<TakeOverEntity> {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "企业id")
    private Integer corpId;

    @ApiModelProperty(value = "接替数量")
    private Integer takeOverAccount;

    @ApiModelProperty(value = "接替日期")
    private LocalDate createDay;

    @ApiModelProperty(value = "日期类型")
    private Integer dailyType;

}
